import 'package:flutter/material.dart';

class StepperTest3 extends StatefulWidget {
  @override
  _StepperTest3State createState() => _StepperTest3State();
}

class _StepperTest3State extends State<StepperTest3> {
  List<Step> steps = [
    new Step(title: Text('初审'), content: new Container()),
    new Step(title: Text('补材料'), content: new Container()),
    new Step(title: Text('审批中'), content: new Container()),
    new Step(title: Text('已放款'), content: new Container()),
  ];

  @override
  Widget build(BuildContext context) {
    return new Scaffold(
      appBar: AppBar(
        title: Text('水平布局'),
      ),
      body: new Stepper(
        steps: steps,
        type: StepperType.horizontal,
        currentStep: 0,
      ),
    );
  }
}
